package ${basePackage}.model.${modulePackage}.${currentMethod};

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;
import ${basePackage}.base.vo.BaseVO;
<#if currentMethod == 'tree'>
import ${basePackage}.base.tree.TreeBeanInterface;

import java.util.List;
import java.util.ArrayList;
</#if>
import java.util.Date;
import java.math.BigDecimal;

/**
 * @version: ${version}
 * @author: ${author}
 * @date: ${date?string("yyyy/MM/dd HH:mm")}
 * @description:
 */
@Data
@EqualsAndHashCode(callSuper=false)
<#if currentMethod == 'tree'>
public class ${moduleName}${currentMethod?cap_first}Vo implements TreeBeanInterface {
<#else>
public class ${moduleName}${currentMethod?cap_first}Vo extends BaseVO {
</#if>
    <#if currentMethod == 'tree'>
    /**
     * 默认id,parentId,children ,parentId root节点为0 如果与数据库不符合可以重写TreeBeanInterface中的方法
     */
    private List<${moduleName}${currentMethod?cap_first}Vo> children = new ArrayList<>();
    </#if>

<#list columnList as column>

    /**
     * ${column.columnComment}
     */
    @ApiModelProperty(value = "${column.columnComment}")
    private ${column.javaType} ${column.javaColumnName};
</#list>

}
